#include <stdio.h>

int main(){
	int a,b,c,min;
	scanf("%d %d %d", &a, &b, &c);
	min = a<b?a:b;
	min = c<min?c:min;
	printf("%d", min);
	return 0;
}
